package com.youdoneed.news.common.util;

import java.util.UUID;

public class StringUUIdUtil {

	   /**
	   * 随机生成UUID
	   * @return
	   */
	public static synchronized String getUUID(){
		UUID uuid=UUID.randomUUID();
		String str = uuid.toString(); 
		String uuidStr=str.replace("-", "");
		return uuidStr;
   }
}
